package com.song.pattern.abstractfactory;

import com.song.pattern.abstractfactory.pojo.Cow;

public class CowFactory {

	private final static Factory cowFactory;
	static{
		 cowFactory = Cow :: new ; 
	}
	public static Cow produceCow(){
		return (Cow)cowFactory.produce();
	}
}
